import { createApp } from 'vue'
import App from './App.vue'

// element plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// antd
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

createApp(App)
  // 全局自定义指令
  .directive('focus', {
    mounted(el) {
      el.focus()
    }
  })
  .use(Antd)
  .use(ElementPlus)
  .mount('#app')
